/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package utils.Servers;

import utils.manga.Manga;

/**
 *
 * @author killan
 */
public class ServerM {

    private ServerM servidor;

    public ServerM() {
    }

    public void setServer(ServerM servidor) {
        this.servidor = servidor;

    }

    public Manga getManga() {
        if (this.servidor instanceof SubManga) {
            SubManga subManga = (SubManga) this.servidor;
            return subManga.getManga();
        } else {
            return null;
        }
    }
}
